public class RedPacket {

    private double totalMoney; // 红包的总金额

    private int count; // 红包的数量

    // 无惨构造
    public RedPacket() {
    }

    // 有参数构造器
    public RedPacket(double totalMoney, int count) {
        this.totalMoney = totalMoney;
        this.count = count;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
